package com.yzhl.batch_sync;

import com.yzhl.batch_sync.interceptor.MybatisInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Properties;

/**
 * @author wangzu
 * @date 2018/10/11
 */
@Configuration
public class Configs {

//    @Bean
//    public MybatisInterceptor mybatisInterceptor() {
//        MybatisInterceptor mybatisInterceptor = new MybatisInterceptor();
//        Properties properties = new Properties();
//        properties.setProperty("offset", "1000");
//        mybatisInterceptor.setProperties(properties);
//        return mybatisInterceptor;
//    }

}
